package cn.iocoder.yudao.module.system.controller.admin.zkdatanew.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 新数据纪录分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ZkdataNewPageReqVO extends PageParam {

    @Schema(description = "数据标识")
    private String dataUniq;

    @Schema(description = "数据总数")
    private Integer dataTotal;

    @Schema(description = "发送时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] sendTime;

    @Schema(description = "包长度")
    private Integer packetLength;

    @Schema(description = "接收方")
    private String dataReceiver;

    @Schema(description = "发送方")
    private String dataSender;

    @Schema(description = "数据类型", example = "2")
    private Integer dataType;

    @Schema(description = "包序列号")
    private Integer dataSeq;

    @Schema(description = "数据长度")
    private Integer dataLength;

    @Schema(description = "数据载荷")
    private String dataPayload;

    @Schema(description = "原始数据")
    private String oriData;

    @Schema(description = "转发状态", example = "2")
    private Integer status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}